/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.nanosn.framework.web.template;

import java.util.Dictionary;

/**
 *
 * @author selkhateeb
 */
public class Template
{


    private String name;
    private Dictionary data;
    private String contentType = "text/html";

    public Template(String name)
    {
        this.name = name;
    }
    public Template(String name, Dictionary data)
    {
        this(name);
        this.data = data;
    }
    public Template(String name, Dictionary data, String contentType)
    {
        this(name, data);
        this.contentType = contentType;
    }


    public String getContentType()
    {
        return contentType;
    }

    public void setContentType(String ContentType)
    {
        this.contentType = ContentType;
    }

    public Dictionary getData()
    {
        return data;
    }

    public void setData(Dictionary Data)
    {
        this.data = Data;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String Name)
    {
        this.name = Name;
    }
}
